package com.foryou.wechat.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by Lee.
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductionDTO {

    @NotBlank(message="作品相册名称不能为空")
    @Length(min=1,max = 100,message="作品相册长度位于1到100位之间")
    private String name;

    @NotBlank(message="作品相册描述不能为空")
    @Length(min=1,max = 250,message="作品相册描述长度位于1到250位之间")
    private String intro;

    private String equipment;

    private String shootAddress;

    @NotNull(message="请选择是否约拍返片")
    private Integer returnFilm;

    @NotNull(message="请选择是否本人拍摄")
    private Integer isOneself;


    @NotNull(message="约拍主题不能为空")
    private String subjectIds;
}
